package com.github.niefy.modules.wx.enums;

import lombok.Getter;

@Getter
public enum CommonYesNoEnum {

    /**
     * 普通文章
     */
    YES("10", "YES"),
    /**
     * 帮助中心文章
     */
    NO("20", "NO"),

    ;
    /**
     * 数据库属性值
     */
    private final String code;
    private final String msg;

    CommonYesNoEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
